
<div class="grid_3">
	<div class="menu inner-border menu">
<?php if($this->session->userdata('logged_in')):?>
	<?php if($this->session->userdata('usertype') == 'admin'):?>
		<h6/>My Account</h6>
		<ul>
			<li><a href="">Home</a></li>
			<li><a href="<?=site_url('admin/change_password');?>">Change Password</a></li>
			<li><a href="">News and Events</a></li>
			<li><a href="<?=site_url('post/logout');?>">Logout</a></li>
		</ul>
		<h6/>User Section</h6>
		<ul>
			<li><a href="<?=site_url('admin/add_user');?>">Add User</a></li>
			<li><a href="<?=site_url('admin/search_user');?>">Search Users</a></li>
		</ul>
		<h6>School Section</h6/>
		<ul>
			<li><a href="<?=site_url('admin/school_setting');?>">School Setting</a></li>
			<li><a href="<?=site_url('admin/school_year');?>">Current School Year</a></li>
			<li><a href="<?=site_url('admin/current_semester');?>">Current Semester</a></li>
			<li><a href="<?=site_url('admin/calendar');?>">Calendar</a></li>
			<li><a href="<?=site_url('admin/announcement');?>">Announcement</a></li>
		</ul>
		<h6>Course Section</h6>
		<ul>
			<li><a href="<?=site_url('admin/level');?>">Level and Level Fees</a></li>
			<li><a href="<?=site_url('admin/semester');?>">Semester</a></li>
			<li><a href="<?=site_url('admin/course');?>">Course</a></li>
			<li><a href="<?=site_url('admin/subject');?>">Subject</a></li>
		</ul>
		<h6>Student Section</h6>
		<ul>
			<li><a href="<?=site_url('admin/add_student');?>">Add Student</a></li>
			<li><a href="<?=site_url('admin/search_student');?>">Search Student</a></li>
			<li><a href="">Subject Load Overview</a></li>
			<li><a href="">Block Section Settings</a></li>
		</ul>
		<h6>Enrollment Section</h6>
		<ul>
			<li><a href="<?=site_url('admin/pending_enrollees');?>">Pending Enrollees</a></li>
			<li><a href="<?=site_url('admin/sucl');?>">Assign Subjects to year level and course</a></li>
		</ul>
		<h6/>Finance Section</h6>
		<ul>
			<li><a href="<?=site_url('admin/fee_category_creator');?>">Fee Category</a></li>
			<li><a href="<?=site_url('admin/fee_creator');?>">Fee Creator</a></li>
			<li><a href="">Payslip Management</a></li>
		</ul>
		<h6/>Room Section</h6>
		<ul>
			<li><a href="<?=site_url('admin/manage_rooms');?>">Rooms</a></li>
			<li><a href="">Room </a></li>
			<li><a href="">Student Management</a></li>
		</ul>
		<h6/>Employee Section</h6>
		<ul>
			<li><a href="">Search Employee</a></li>
			<li><a href="">Employee Category</a></li>
			<li><a href="">Student Management</a></li>
		</ul>
		
	<?elseif($this->session->userdata('usertype') == 'student'): ?>
	
		<h6>My Account</h6>
		<ul>
			<li><a href="">Home</a></li>
			<li><a href="<?=site_url('student/change_password');?>">Change Password</a></li>
			<li><a href="<?=site_url('student/profile');?>">Profile</a></li>
			<li><a href="<?=site_url('post/logout');?>">Logout</a></li>
		</ul>
		<h6>Enrollment</h6>
		<ul>
			<li><a href="<?=site_url('student/select_subjects');?>">Select Subjects</a></li>
		</ul>
		<h6>School Account</h6>
		<ul>
			<li><a href="<?=site_url('');?>">Approved Subjects</a></li>
			<li><a href="<?=site_url('');?>">Cashier</a></li>
		</ul>
		
	<? elseif($this->session->userdata('usertype') == 'cashier'):?>
		<h6>My Account</h6>
		<ul>
			<li><a href="">Home</a></li>
			<li><a href="<?=site_url('cashier');?>">Change Password</a></li>
			<li><a href="<?=site_url('cashier');?>">Profile</a></li>
			<li><a href="<?=site_url('post/logout');?>">Logout</a></li>
		</ul>
		<h6>Enrollment</h6>
		<ul>
			<li><a href="<?=site_url('student/select_subjects');?>">Select Subjects</a></li>
		</ul>
		
	<?php endif;?>
<?php else:?>
	<h6>User Controls undefined</h6>
<?endif;?>

	</div>
</div>